package demo01;

import org.junit.Test;

/**
 * Hello world!
 *
 */
public class TestCpuCors {
    @Test
    public void test(){
        //输出cpu核数
        System.out.println(Runtime.getRuntime().availableProcessors());//20
    }
}
